package java44th.group.bean.wx.vo.order;

import java44th.group.bean.po.MarketOrderGoods;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Aurhor: 帅的一批
 * @CreateAt: 2022/10/14 20:53
 * @Description:
 * @PACKAGE_NAME： java44th.group.bean.wx.vo.order
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class WxOrderDetailVo {

    private List<Object> expressInfo;
    private OrderInfoDTO orderInfo;
    private List<MarketOrderGoods> orderGoods;

    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    public static class OrderInfoDTO {
        private String consignee;
        private String address;
        private Date addTime;
        private String orderSn;
        private BigDecimal actualPrice;
        private String mobile;
        private String message;
        private String orderStatusText;
        private Short aftersaleStatus;
        private Double goodsPrice;
        private Double couponPrice;
        private Integer id;
        private Double freightPrice;
        private WxOrderHandleOption handleOption;

    }

//    @AllArgsConstructor
//    @NoArgsConstructor
//    @Data
//    public static class OrderGoodsDTO {
//        private Integer id;
//        private Integer orderId;
//        private Integer goodsId;
//        private String goodsName;
//        private String goodsSn;
//        private Integer productId;
//        private Integer number;
//        private Double price;
//        private String[] specifications;
//        private String picUrl;
//        private Integer comment;
//        private String addTime;
//        private String updateTime;
//        private Boolean deleted;
//    }
}
